#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
    //int a = 0;
    //int b = 0;
    //scanf("%d", &a);
    //if (a < 0)
    //{
    //    b = 1;
    //}
    //else if (a == 0)
    //{
    //    b = 0;
    //}

    //else {
    //    b = -1;
    //}
    //int a[] = { 0 };
    //scanf("%d", &a);
    //printf("%d %d %d %d", a[3], a[2], a[1], a[0]);
    int a = 0;
  
    printf("%d\n", !a);
        return 0;
}